package com.ruoyi.system.domain.parm;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 【请填写功能名称】对象 sys_business
 * 
 * @author ruoyi
 * @date 2024-04-03
 */
public class SysBusinessRegParm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @ApiModelProperty(value = "id",example = "")
    private String id;

    /** 名称 */
    @ApiModelProperty(value = "用户名",example = "",required = true)
    @NotEmpty
    private String userName;

    /** 昵称 */
    @Excel(name = "昵称")
    @ApiModelProperty(value = "昵称",example = "",required = true)
    @NotEmpty
    private String nickName;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @ApiModelProperty(value = "邮箱",example = "",required = true)
    @NotEmpty
    private String email;

    /** 手机 */
    @Excel(name = "手机")
    @ApiModelProperty(value = "手机",example = "",required = true)
    @NotEmpty
    private String phone;

    /** 密码 */
    @Excel(name = "密码")
    @ApiModelProperty(value = "密码",example = "",required = true)
    @NotEmpty
    private String password;


    /** 0=未知 1=男  2=女 */
    @Excel(name = "0=未知 1=男  2=女")
    @ApiModelProperty(value = "0=未知 1=男  2=女",example = "",required = true)
    @NotNull
    private Integer sex;

    /** 头像 */
    @Excel(name = "头像")
    @ApiModelProperty(value = "头像",example = "")
    private String avatar;

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

}
